package com.wave.system.domain.bo;

import com.wave.common.core.domain.BaseEntity;
import com.wave.common.core.validate.AddGroup;
import com.wave.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 机械臂信息业务对象 sys_mechanical_arm_info
 *
 * @author wave
 * @date 2024-10-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysMechanicalArmInfoBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    private String scanSnCode;
    /**
     * 机械臂编号
     */
    @NotBlank(message = "机械臂编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String armNumber;

    /**
     * 连接模式
     */
    @NotBlank(message = "连接模式不能为空", groups = { AddGroup.class, EditGroup.class })
    private String connectMode;

    /**
     * 运行状态
     */
    @NotBlank(message = "运行状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String runningState;

    /**
     * 机械手任务状态
     */
    @NotBlank(message = "机械手任务状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String armTaskState;

    /**
     * wcs任务状态
     */
    @NotBlank(message = "wcs任务状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wcsTaskState;

    /**
     * 故障码
     */
    @NotBlank(message = "故障码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String faultCode;

    /**
     * 取货位置
     */
    @NotBlank(message = "取货位置不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pickupLocation;

    /**
     * 放货位置
     */
    @NotBlank(message = "放货位置不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deliveryLocation;


}
